<div id="existing_user" >
  It seems that you have registered with us earlier. Please login with your existing Username and Password
     <div class="sign-in" style="float:left;clear:both;">
	     	            <div>
              <% form_tag(:controller=>"login",:action => "process_login") do %>
                 <div class="username">
                	<div class="username-text">
	                	Username:
    				</div>
                    <div class="username-value">
                    	<%= text_field "user", "name",:class=>"input-box",:maxlength=>"80",:size=>"26" -%>&#x00A;
                    </div>
                </div>
                <div class="password">
                    <div class="password-text">
                    	Password:
                    </div>
                    <div class="password-value">
                    	<%= password_field "user", "password",:class=>"input-box",:maxlength=>80,:size=>26 -%>&#x00A;
                    </div>
                </div>
                <div class="sign-in-button">
                   <%= image_submit_tag "sign-in-button.jpg" -%>
                </div>
                <div class="sign-in-problem">
                        <a href="#" onclick="$('forgot_password').style.display='block';">Can't access your account?</a>
                </div>
                <% end %>
			</div>
        </div>
  
  
       <div class="sign-in" style="float:left;clear:both;display:none;" id="forgot_password">
	     	            <div>
              <% form_tag(:action => "resend_password") do %>
                 <div class="username">
                	<div class="username-text">
	                	Username:
    				</div>
                    <div class="username-value">
                    	<%= text_field "user", "email",:value=>session[:existing_user_email],:class=>"input-box",:maxlength=>"80",:size=>"26" -%>&#x00A;
                    </div>
                </div>
              
                <div class="sign-in-button">
                   <%= submit_tag "Request Password" -%>
                </div>
                <% end %>
			</div>
        </div>


 
  
  </div>